package me.xiaosiqi.syt.hosp.repository;

import me.xiaosiqi.syt.model.hosp.Department;
import me.xiaosiqi.syt.model.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author: xiaosiqi
 * @date:2022/7/31 18:06
 */
public interface DepartmentRepository extends MongoRepository<Department, String> {
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
